# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


# 图片信息存储类
class WallhavenItem(scrapy.Item):
    # define the fields for your item here like:
    # 图片id
    id = scrapy.Field()
    itemID = scrapy.Field()

    # 图片链接
    image_urls = scrapy.Field()
    # # 图片大小
    resolution = scrapy.Field()
    # # 图片纯度
    purity = scrapy.Field()
    # # 图片类别
    category = scrapy.Field()
    # # 图片数据
    images = scrapy.Field()
# 图片下载类
class PicItem(scrapy.Item):
    itemID = scrapy.Field()
    image_urls = scrapy.Field()
    id = scrapy.Field()
